import fetch from './fetch'
/**
 * 获取轮播图片
 * @param query
 * @returns {*}
 */
export function getSwiper(query) {
  return fetch({
    url: 'wapapi/art/banner_list',
    method: 'get',
    params: query
  })
}
/**
 * 联系我们  首页留言  
 * @param query
 * @returns {*}
 */
export function leaveWord(query) {
  return fetch({
    url: 'wapapi/art/opinion_add',
    method: 'get',
    params: query
  })
}  
/**
 * 免责声明
 * @param query
 * @returns {*}
 */
export function company_disclaimer(query) {
  return fetch({
    url: 'wapapi/art/company_disclaimer',
    method: 'get',
    params: query
  })
} 
/**
 * 隐私条款
 * @param query
 * @returns {*}
 */
 export function privacy_terms(query) {
    return fetch({
      url: 'wapapi/art/privacy_terms',
      method: 'get',
      params: query
    })
  }
/**
 * 导航栏搜索
 * @param query
 * @returns {*}
 */
export function navSearch(query) {
    return fetch({
      url: 'wapapi/search/search_list_result',
      method: 'get',
      params: query
    })
  } 

/**
 * 友情链接
 * @param query
 * @returns {*}
 */
 export function get_link(query) {
    return fetch({
      url: 'wapapi/link/get_link',
      method: 'get',
      params: query
    })
  } 



